<template>
  <el-form-item label="" prop="username">
    <el-input placeholder="请输入用户名" v-model="loginRequest.username" :prefix-icon="User"></el-input>
  </el-form-item>

  <el-form-item label="" prop="password">
    <el-input type="password" v-model="loginRequest.password" placeholder="请输入密码" :prefix-icon="Lock" :show-password="true">
    </el-input>
  </el-form-item>
</template>

<script setup>
import { User, Lock } from '@element-plus/icons-vue'
  defineProps({
    loginRequest:{
      type:Object,
      default:{}
    }
  })
</script>

<script>
export default {
  name: "UserPassItem"
}
</script>


<style scoped>

</style>